<template>
  <!-- 当年收入 -->
  <div class="income">
    <ul>
      <li v-for="(item,index) in dangn" :key="index">
        <span>{{item.month}}月</span>
        <span>{{item.income}}</span>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  props: ["dangn"],
  data() {
    return {};
  },
};
</script>
 
<style lang="less" scoped>
.income {
  padding: 0.2rem 0.2rem 0;
  ul {
    li {
      display: flex;
      justify-content: space-between;
      height: .6rem;
      line-height: .6rem;
      background-color: #fff;
      padding: 0 .2rem;
    }
  }
}
</style>